added support for streams (POST/PUT), content-type header in params now case insensitive, added streaming tests and examples