alphabetize long list of local scope variables
fixes #8 Don't publish reserved event types

If the server sends a message of type 'open' or 'close', we don't
want to publish an 'open' or 'close' event. We will continue to
publish a 'message', event and we will preserve the type for the
user to parse if they so wish.