Add the ready state constants to the SockJS prototype