Added app argument to initialize.
Allowing streaming to be disabled and use the standard Net::HTTP instead.