Connection: use socket.setKeepAlive() explicitly