Add Message class to work as a future provider.
Add custom FrameFormatError exception.
Decouple and refactor message parsing and dispatching logic.