parse referrer to host and search request