Added dispatcher and hander classes to handle the incoming marker stream.

They can TCP and UDP streams and take care of the terminator between the
packets. With this commit they are not activated yet.