Connect mock request useful for testing.