Added configuration option for WebSocket ping