Made sure sockets work with sessions