Updated automodel
Fixed handling of weird response headers
Updated Stream wrapper
Merge branch 'origin/master'