Refactoring the check iis site binding matcher helper.