Fix to respect --explicitly-allowed-ports command line option-Chromium Side

[PATCH 1] : This Patch
[PATCH 2] : https://codereview.chromium.org/908483002/

BUG=223927

Review URL: https://codereview.chromium.org/1036823003

Cr-Commit-Position: refs/heads/master@{#325263}
10 files changed