Support user defined ports
Also add port number support for registering
Added test for custom port number
Merge pull request #11 from raspygold/master

Accommodate specification of custom port numbers