Http async task refactored into a new abstract class.