DIRMINA-946, fixes for ByteBufferDumper
Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/mina into bufferdumper-fix