A two-fluid model for the solar wind