bugfix: remove_http was not removing all the host information
formating