Make web socket connection code a little more readable