Fix detection of incomplete HTTP requests

Fixes #53.
Merge pull request #77 from dlundquist/fix-framented-requests

Fix detection of incomplete HTTP requests
Merge remote-tracking branch 'github/master' into nonblocking-connect