Added the ability to turn on logging of http requests. Better display of unsuccessful HTTP request responses