Add basic InputStreamParser to turn the InputStream into a JSONObject/JSONArray
having a null request is ok
use out InputStreamParser classes to parse the error sent by the server