Fix for netty4 to netty3 buffer copying, test improvements, etc #302