Added relay for TCP sockets