Changed SET opcode to PUT. Finished core protocol impl.
Cleanup.