Added in 1.9.0
$cid
Returns the server connection id for the current script.