Added in 1.9.2
$status
Returns current server connection status: disconnected, connecting, loggingon, connected.