Two bug fixes

Hi,

Thank you for a great module. I had two problems, which this pull request aims to fix:

1) The tcp socket timeout doesn't apply when being set after the connect method.

2) If used to issue HEAD requests (towards an nginx installation for example), the status response is set to nil because the response from the web server is without a body.