socket: add process delegation