We make the peers code use applet->ptr instead of conn->xprt_ctx to store the pointer to the current peer. That way it does not depend on a connection anymore.