Using comms library in demo plugin.
Added protocol stack support to demo protocol.