Fix http proxy with new SSL management, extract it to abstract http to use it for all http output plugin.