Started refactoring for multi-broker support.

Gave up on Redis sockets on Windows.
API breaking changes.