Add the socketio packet encodeAsString and encodeAsBinary
Add performance mersure for socektio packet encode