utils.server: add privilege drop for socket.io server