WindowScocket: Private methods to handle DOM events.
EXAMPLE: Expose WindowSocket instance