tom: treat mock URL's as RegExps to allow for dynamic url matching