Add authorization of sockets