add WebSocket & SublimeSocket function.