Fixes to dependencies and to creation of embedded broker to use proper
transport