Updated Frame inheritance.
Clearing the buffer before returning it.
Reworked generation of frames (split into different generators) and
sketched server-side handling and linking with channel.