Update FrameCodec.java to encode and decode frames.
Merge branch 'master' of https://github.com/jonathanedgecombe/opencube