small improvements to remoting subsystem

Add runtime tests, make sure we always set TCP_NODELAY