Web socket protocol mimics page protocol