1. BinaryHttpResponseHandler supports Java regular expressions. See:
https://github.com/loopj/android-async-http/blob/master/library/src/main/java/com/loopj/android/http/BinaryHttpResponseHandler.java#L65

2. The white list should be configurable from APIs.