refactored out the curl stuff as an object oriented curl implementation
updated set option to actually call curl_setopt
changed the request interface to extend the curl handle factory
interface
added the url class