Fix first packet is usually rejected by gameserver, because protocoldef is not initialized