# Functions
IsValidPort checks the provided to determine whether or not the port candidate is a valid TCP port number.
ParsePort parses and verifies the validity of the port candidate.
ParsePortRange parses and checks the provided range candidate to ensure it is a valid TCP port range.