Rewrite send request to use cURL.
Merge branch 'hotfix/0.2.6'