Redirect data from socket to transport