Optimise and extend the port command.
- greatly improved the efficiency of the the -u and -a modes, by gathering port state once instead of invoking netstat for each port (O(n^2)).
- reduced code duplication.
- added new command -f to pick a random free port.
- improved the -s command so that report port state in exit as well, and also print the user cgroup postfix.
- migrated from 'netstat' (obsolete according to the man page) to 'ss'.
- 'ss' output is handled by 'awk' as better suitable for tabular format.