Merge pull request #10 from stevewillcock/master

Added support for via header
cleanup
Release 0.4.0
If status code is 3xx, we should fix the location.
add a test for correctly applying the location header

correctly apllies the location header to the response when the response
status code is 3xx
Merge pull request #13 from miniflycn/master

If response's status code is 3xx, we need to fix the location.
Release 0.5.0