Merge pull request #42 from zborboa-google/master

Fix #41: Add PUT example
Make case-insensitive access to headers more obvious
Merge pull request #44 from zborboa-google/patch-1

Make case-insensitive access to headers more obvious
Add preliminary support for HHVM
Bump major version
Decode xml responses seamlessly
Add deviantART rss feed example
Add Content-Type for xml decoding
Add Flickr photo search example
Move response parsing to separate function
Fix response parsing when 100 Continue response contains optional headers
Remove redundant newline checking
Use Content-Type header stored in CONTENT_TYPE per RFC 3875

Normalize $_SERVER['CONTENT_TYPE'] with value from $_SERVER['HTTP_CONTENT_TYPE']
fix: HTTP 301 导致$response内有header
$response_header = 'HTTP 301...';
$response = 'HTTP 200.....<body>';
Clean up syntax pursuant to PSR2
Fix #47: Add http header redirect parsing test
Include leading slash when checking for HTTP-Version field (RFC 2616 § 3.1)