Adds ability to parse custom port on domain name

Addresses #45