feat(server, shared): send an AfterAuth payload to the client after auth
feat(shared): setup server protocol configuration