Updated httpDriver: added conversion function