added web socket classes