revert to old avhttp since new one is not stable