Handle httpc returning string instead of binary