When connecting remotely, send stdout to client.

When connecting locally, client uses stdout as connection in the first
place, so this is unnecessary.
Include client IP address in connection output.