Client for haste server, uses curl.