str.format() on http.py

Improved string formatting by removing concatenation and replacing with
str.format() usage