comet:support tls and websocket; web: support https
comet:add ws handle