Fix for using he same keep-alive connection to perform several requests to the same host. Reset internal flags for each new request.
Merge pull request #15 from k-stolyarov/multi-reqests-fix

Fix for using he same keep-alive connection to perform several requests ...