Made HttpClient more useful by showing more info in ToString()

#2224
Updated the js file