public void SendPacket(APINetworkPacket packet)
 {
     SendPacket(serializer.SerializeWithHeader(packet));
 }