browser: set inputLength before sending (fixes tests on opera 12.10)
browser: handle case when browser has typed arrays, but not ArrayBufferView (fixes tests on opera-12.01)