webmetrics/browsermob-proxy — comment on commit 2c00017c823924c469aa61bdcddf4791a2dfcfa0
File:  line 0
By alexeimoisseev:

This won't work, if we use RemoteWebDriver and browser is not on the same host as the test code with proxy server.
You should use InetAddress.getLocalHost().getCanonicalHostName() instead of "localhost".