Fix issue where opening links with a custom port would not be respected.

Hi Brian, I bumped into this today while writing some integration tests Selenium. Opening an email and link against a custom host/port will not respect the fully qualified URL. I've added some specs to illustrate the desired behavior and wanted to get your thoughts. Thanks!