removed unused code in wsgi handlers
removed unused function in deferred
coverage and 1 security test
added img to HTML tags
whe passing headers to HttpClient, they override the default ones
increased coverage and fixed in json rpc
pep8 fix