Fix connection error event
Added new value type int16_array and encryption response packet

also fixed varint reading
set serverID to 16 bytes and added hardcoded encryption request packet