Changes to add web socket functionality with angular client.