support curl in AsyncHTTPClient

and ensure user-agent is set

built on #134