Update request stream to parse xml
add example uses of the streams