Use ByteBuffer instead of bytes Atmosphere/vibe-java-server#32