never use stream loader, those smash the GC.

Change-Id: I7f9298ed11eca868c80d15c5268cc4ad9e29d28a
Properly limit the ByteBuffer read from stream

Change-Id: Id9526309f7e73610fdcbf27312698190f7af1663