Set proxy in WebDriver Factory using Capabilities

How can I set the http proxy using when creating a new Chrome or Marionette WebDriver?    

Explicitly setting this via the nodes is currently not supported. It's on the feature list for next year.