fix web socket support