remove bufferedInput/OutputStream in message server which doesn't work with nio channel