Fixes #160

Append port to host header if specified