You may receive the error
System.Net.WebException: The request failed with HTTP status 417: Expectation Failed.
when using a proxy server that only supports HTTP 1.0.
To resolve this issue, follow the instructions here to set up your proxy connection.