setProxy
Resolves when the proxy setting process is complete.
Sets the proxy settings.
You may need ses.closeAllConnections
to close currently in flight connections to prevent pooled sockets using previous proxy from being reused by future requests.