changes to spider: add padtemplates so the connect functions can connect two request...