Removed the message buffer. The BufferedOutputStream should do fine without it.
Removed type paramter from event listener interface