require mcrypt for encryption
direction enum
base packets to extend from
the handshake packet
update the lock for the mcrypt thing
fix typehint
move data type encoders
add encoder for string types
return the encoded json
ping response packet
a status request packet
ping request packet
get rid of the structure and put them all in one place with proper names
encryption request packet
setters need to be public for clientbound
encryption response packet
login start packet
disconnect packet
make a map of stage/packetID -> class name for all incoming packets and use that to parse the packet
fix processing of a string