Quick fix - use HttpWebRequest.Create instead of WebRequest.Create.