open stream from url