Opbeat API implementation for Tcl