read a byte array instead of String from requests inputstream