Title: Optimal Agency Relationships in Search Markets