serializeForSession

open fun serializeForSession(opCode: OpCode, payload: Any): Array<Byte>