Add port num internal field for use.
Add __str__ and __repr__ implementations.