create, test, and use a fake Connection class
Merge branch 'protocols-fakeconnection' of git://github.com/djmitche/buildbot into slave-proto