web socket handler, modify reconnect to FreeSWITCH