connection: add some docs and specs
listener: add some specs and docs