Added message handler stubs for server. Fixed compile errors in client