fix double ref and case of exceptions that are not std::exception
fix double ref and case of exceptions that are not std::exception

yhirose/cpp-httplib,yhirose/cpp-httplib,yhirose/cpp-httplib,yhirose/cpp-httplib