Remote forwarding: read opened port from server

Using remote_port=0 allows the remote system to allocate
the port automatically.