Javadoc for driver-core

Completed Javadoc for operation, protocol, and messages
Encode