replace apache http client with jersey client
improved exception handling when phase calls uri