IConnectErrorListener renamed to IConnectionListener, onConnected event added. Also OP_WRITE fixed, now write interest set only if we really want to write to the socket.