takes string size into account when comparing protocol version and name
dispatches based on opcodes, partially implements on_close()
adds hash table implementation for a 32-bit value