Changes to support pcap2har on Google App Engine

These changes allow pcap2har to run cleanly on AppEngine, which is a great thing.

Also, this includes an earlier pull request for features that make pcap2har more robust in cases where there are missing packets in the trace.

Let me know what you think. Thanks!