Accommodate specification of custom port numbers

Allow for an optional custom port number to be defined. This is especially useful when connecting to a Hue Bridge from an external network via port forwarding.