added layer::connection accessor