Added redirect support.

If the user uses a status code of 3xx and has a valid "Location" header, we perform a redirect.
Merge pull request #23 from hborders/redirect

Added redirect support.