title: How to add proxy configuration in mongo-java driver operation?
body: <p>I am trying to set <strong>proxy setting while connecting to mongodb instance</strong>.
  I have tried with following snippet</p>
  
  <pre><code>System.setProperty("http.proxyHost", "abc.com");
  System.setProperty("http.proxyPort", "8080");   
  System.setProperty("https.proxyHost", "abc.com");
  System.setProperty("https.proxyPort", "8080");
  </code></pre>
  
  <p>but the request is not seems pass through the proxy.
  Is there any way to add <strong>proxy configuration</strong> in mongo-java driver api methods?</p>