return new SocketListener() {
@Override void accept(final Socket adoptSocket) {
execute(pathResolverExecutor, pathResolverExceptionHandler, adoptSocket, new Runnable() {
@Override public void run() {
final SocketTransport transport;
final Reader reader;
final OutputStream outputStream;
try {
setTcpNoDelay(adoptSocket);
reader = Reader.create(adoptSocket.getInputStream());
outputStream = adoptSocket.getOutputStream();