Introduce socket.send() and socket.sendFile(). Use them for linked sockets.