Modify Jetpack_Client_Server to support unit testing, add some tests.

Here's a proposal for modifying the Jetpack_Client_Server class so that it can be unit tested. Does this seem reasonable?