towards a working HTTP file adaptor