So here we go, both encoding and decoding for all packet types should be in place