minor improvements

removed the ethernet reset code from example
calculate the message
buffer sizes in the start function instead of
doing it with every call
to availableEvent or sendEvent