GWT emu for BufferedInputStream does not implement 'available'

Made BufferedInputStream a FilterInputStream for the emulation (as buffering makes no sense in the emulation) and changed FilterInputStream.available to call the underlying stream.
This could fix the Issue #1175