Changes on web socket http handler