parse sockets in auth