Added debug support to http driver