send now takes event ID instead of size,  assumes size is in the first 2 bytes of data, and then stores the event id directly after size
a more secure netbuffer now initializes, and resets to buffer[4], if you need to get at the size or msgId you must setposition(0) and read the two shorts