public void close() throws IOException {
        wbc.close();
        rbc.close();
    }
Closes the channels that will end up closing the input and output streams of the connection.
The channels implement the InterruptibleChannel interface so any other thread that was
blocked in an I/O operation will be interrupted and will get an exception.

@throws IOException if an I/O error occurs.
xmppserver/src/main/java/org/jivesoftware/openfire/net/TLSStreamHandler.java