Use patch for remote_stream_wrapper

Fixes issue with soap requests