fix pyflake
make test_slave_comm more robust against broker leaks
Merge branch 'slave-proto' into nine