Integration testing

Testing the simple case of getting a lock and then later releasing it
fix typo in getting port number
create methods for getting proxy and server host and port
Stub in arguments in callback

It is possible to get the $body and $headers in the _claim_failure_generator.  Stubbed that in, in case we would like to use that later.