Convert ergo_proxy test server to use real sockets (not twisted)