Added @todo to HttpWebRequest.
Shortened use statements to drop unnecessary 'as' clauses.
Moved type-processing to the curl connection's constructor to make calls more efficient.