[http] HttpConnection: fixes memory-leak
[http] HttpWorker: code cleanup