task: add fromID parameter to ServeAsX APIs

@xiaoyunwu @xiang90 
Per our discussion in #34