headless: Add support for net logging

This patch adds support for the --log-net-log command line flag to
headless to help diagnosing issues with networking.

BUG=706355

Review-Url: https://codereview.chromium.org/2841953002
Cr-Commit-Position: refs/heads/master@{#467289}
9 files changed