Added CLI option to specify TCP port.