Httpstream

this improves the stability of the fromHTTPStream block. There may still be dragons, but this at least fixes #228.