Started supporting web socket for front-end interaction