strip out protocol