Simple java REST client