HttpClient improvement.

Instantiate http client before each request to support multiple
call.
Use @Test(expected) annotation to catch exception