Added support for libcurl's CURLOPT_RESOLVE. 

 Requires curl/libcurl 7.21.3 or newer.