[fix] Better check against the websockets option so it can also be disabled. #34