implement CURL handle pool

re-use 'em rather than baking a fresh one for each request.
sync'd with mutex