adding overloads to allow passing headers for custom route constraints.