strip out http and https from host entries