separated generic sockets from sessions