MockWebSocket classes: fixing coding standards transgressions