change spec to use connection, add nick handling