Refactor networking (do not merge)

This pull request is in resolution of this issue:
https://github.com/dotcloud/docker/issues/1834

I cannot find the refactor-networking branch anymore.  
Am I making the pull request to the wrong branch?

--Robert