openssl: fix write loop in libsoup

Ignacio Casal Quinteiro requested to merge wip/nacho/fix-libsoup-loop into master

if we get a disconnection and we get broken pipe we should treat it as an error. Otherwise if we pop up that it is not an error and we return 0 written bytes we might endup with a retry from the caller and endup with a write / read loop.

Merge request reports