Porting code to be compatible with Java 1.6


Hi,

I just wanted to let you know that I was able to get the library running on Android by making the library compatible with Java 6 instead of 7.

This is not helpful directly for the codebase, but I was wondering whether this is helpful as a side branch in case someone else runs into this issue or wants to use the library for Java 6/Android.

Best,
Pulkit

Could you flip these `equals` comparators?
```
"OK".equals(status)
"INVALID_REQUEST".equals(status)
```
etc.