Manually search for "://" to determine when host should be empty