I am using Apache Client Library.
I think you can reproduce the case by filtering for Hashtag that is not known, i used #Telephoenic.
Nothing special about the Code I used the following for Reading the Stream:
BufferedReader rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));