Only set local_port and local_address for tcp