Building a simple http client on android to speak to a rails server