Make error handling in sock_connect() a bit clearer and simpler.
Make error handling in sock_connect() a bit clearer and simpler.

overcastcloud/trollius,leetreveil/tulip,overcastcloud/trollius,leetreveil/tulip,overcastcloud/trollius,leetreveil/tulip