Document and deprecate PortNum

This resulves #83