fix(app-emulation/docker): add fix for --net=host

Merged upstream: https://github.com/dotcloud/docker/issues/5812
Merge pull request #629 from philips/fix-docker-host-networking

fix(app-emulation/docker): add fix for --net=host