Switched to using Curl for web service calls.

Fixes #116
Fixes #117