Build-depend on libcurl-dev in debian

Because FS will build against the system libcurl if it's there, this
results in us building against the system library.
remove usage of apr dso functions, we have our own dso abstraction