Simple java get and post client