Make browser examples run with Splunk 6.0

With Splunk 6.0, we have to set an explicit Content-Length, which we were not
always doing.
Merge branch 'develop' of https://github.com/splunk/splunk-sdk-javascript into develop