support inlining images fetched via URL
abstract http req and test it