take care of envelope with router sockets