Connection base class added, simple wrapper for socket object