[sr-dev] git:5.1:5e7201ef: dialog: parse headers for request and transfer reply for errors