added server replying routines for resolving requests