allow beaver to accept custom transport classes
make beaver slightly more amenable to test mocking and sort of fix the broken zmq test