Implement LogPacket command (previously unimplemented PacketLog) for TestClient.

As per the unimplemented command, this takes n number of packets and logs them to the given file.
This is done asynchronously and the user notified when packet logging is complete.