Add option to limit range of port for client_server

It would be useful when the router is masking outer ports.