use hostname instead of host in case a port is included
update hostname/port for request and add unit test
now requires node 0.6.0 or higher
Merge pull request #6 from compete/master

Allow ports in redirect locations