Set connection state in sockConn for observability