Pattern based mock requests

@jnjosh @macdrevx Do not merge yet.