Fix compile bugs

There were bugs causing the project not to compile. I added #pragma once
to  some headers that didn't have it and auto returned 0 on a few of the
functions in ProtoConnection. Added Engine.h and Engine.cpp. Engine will
be the client's interface.