[PATCH v3 2/2] server: Get socket protocol from kernel if not given.