Added port listing feature to ct

Added a command allowing to start a tiny web server listing the listening ports on the machine.