bugfix: using http-streams to fix issue #5