extension Connection: Equatable {
    public static func == (lhs: Connection, rhs: Connection) -> Bool {
        return lhs.path == rhs.path && lhs.descriptor == rhs.descriptor
    }
}