using connection.remoteAddress instead of handshake