Adventures in Java: RESTful client (Android)