Refactor test_endtoend to share server/client initialization code among tests.
Refactor test_endtoend to share server/client initialization code among
tests.

Review URL: http://codereview.appspot.com/3862043

git-svn-id: d23f85197b9dafcb1b1682eb9d0eda70517bdc52@385 4ff78f4a-9131-11de-b045-6380ec9940d4

bpsinc-native/src_third_party_pywebsocket_src,bpsinc-native/src_third_party_pywebsocket_src,bpsinc-native/src_third_party_pywebsocket_src,bpsinc-native/src_third_party_pywebsocket_src