move _get_request_func to launch_server_v1, so supervisor doesn't
need to grow a bunch of crufty HTTP knowledge.

add some tests for _get_request_func directly, but I'm not really
happy about them.