logger.debug("Reject connection from banned IP: " + socket.getInetAddress());
/*
* Sends a connect NACK message if the address is banned.
*/
MessageS2CConnectNACK msg = new MessageS2CConnectNACK();
msg.setSocketChannel(channel);
sendMessage(msg);
/*
* NOTE: We should wait a bit to close the channel... to make sure
* message is sent *before* closing it, otherwise client won't know