Added timing functions to web sockets, changed check() to available()...breaks old code...but the old function wasn't doing what it was supposed to do anyways...