Remove workarounds for ancient versions of libcurl.
Remove support for the old get_error_html function.
Increase the test timeout on travis.