check if browser support web socket