introduced new protocol version to fix bug 204
Use less memory by freeing buffered messages sooner.