Implement Serializable interface on Connection

So that these objects can be serialized() as part of
openclerk/exceptions handling