Fixed NullPointerException when used in Android

When working in Android, accessing the content returned by the
HttpResponse twice, raised an Exception. Now this API works perfectly
in Android, too.
Merge pull request #4 from juanda95/master

Fixed NullPointerException when used in Android