Integrate web socket support with frontend