simplified message sending based on a per-module dispatch table now
more tests, connect handshake currently broken