use 1.1 streaming API
Merge remote-tracking branch 'felixalias/master'
fix example
close response
handle nil connection response