Write SocketStream which support sendfile