added __repr__ method for Connection class.