Add libcurl to build system

Hopefully this is all we need to do... fixed up reciever file, removed
testnet csv for now