Switch to threaded python server for tests.
Merge pull request #2625 from brendandahl/threaded-server

Switch to threaded python server for tests.