Fix port syntax

- Fix bug where too many `/tcp` suffixes were added to port config
- Allow ports to be specified in `1234/tcp` format