use configured timeout for dial() as well as connect()
Merge pull request #48 from chipdude/master

had missed usage of connect_ms in dial()
fix http_error as the common base class for all http errors
work around task_interrupted exception being thrown inside c-ares callback.
missed throw specifier for task_interrupted
Merge branch 'master' into take2