igrigorik/em-http-request — pull request #252 by wader (2013-10-23 22:04:30+00:00)
Title: Don't include default ports in last_effective_url

Currently if you get a redirect to http://test.com/ the
last_effective_url will be http://test.com:80/

Solve this by not changing the Addressable::URI instance.

This also affected encode_host so only include port in host
header if it is not nil and not any standard port.