Fixed Netty buffer handling.