Prototype of connection handling class, I am not sure about exception
propagation as of yet...