add HTTP 1.1 support
Merge pull request #11 from thomasleveil/patch-1

add HTTP 1.1 support