Fixes redirection: better url comparison

we had an issue when a redirection was made to http://foo.com:80/
which is then stringified as http://foo.com: the comparison was false.

Closes #90