Added some stuff to the HTTP client