http functions working, building with libcurl properly now