(SERVER-116) Reuse client instances

Reuse HTTP client instances in the ruby code rather than creating
a new one for every request.
I think it would be good to put this block of new code into a private helper method that both `get` and `post` call to avoid the repetition.