Core/Server: Add mutex lock to PacketLog