fix http response parsing
Merge pull request #15 from campersau/fix_response_parsing

fix http response parsing