adding overloads to allow passing headers

Allow passing headers to allow testing when using custom route constraint that checks request headers.