Added a ton more options and functions, in an attempt to make the test more like CURLHandle/CURLMulti.
Tidied up test a bit more.
Added some crude URL parsing to pull out username and password.
Get directory listing as well.