Working prototype with Google protobuf.
Small refactorings.
Small refactorings.
Added more packets to protocol.
Added sending of dummy new file revision.
Small refactorings.