Wrappers for HttpWebRequests, as extracted from the SolrNet project.