Verifies that a string represents a valid port number.
bitbucket.org/BanksySan/banksysan.verifyportnumbers