Update protocol.js

Added UTF8 message body supporting 
i don't know, then what is raw.length + 2?