Revision httpTask class. Change mode interface