Declarations from server.cpp to server.h, added packet receiving function (non-functional) in client