Adding support for supplementary characters in RequestBuilder.setStringInput

Some characters in Java strings are of length 1, but actually are represented as two bytes (examples: ñ × ). Therefore, the calculation in RequestBuilder.setStringInput is incorrect.

[Java Unicode Documentation](http://docs.oracle.com/javase/tutorial/i18n/text/unicode.html)