Refactor BrokerActor to simplify cake pattern

**Description:**  refactor BrokerActor to use an initialization message and simplify the cake pattern. Also take advantage to the opportunity for using `ProtocolConstant`s instead of magic numbers, extracting some functionality to auxiliar classes and refurbish the actor tests.

**Testing:** tests pass

**Reviewer:** @gotoalberto