clientMain (WSCatConfig {cfgHostname = hostname, cfgPort = port, cfgPath = path}) =
    WS.runClient hostname' port' path' client where
        hostname' = fromMaybe errorHelp hostname
        port' = fromMaybe errorHelp port
        path' = fromMaybe "/" path
clientMain (WSCatConfig {cfgHostname = hostname, cfgPort = port, cfgPath = path}) =
    WS.runClient hostname' port' path' client where
        hostname' = fromMaybe errorHelp hostname
        port' = fromMaybe errorHelp port
        path' = fromMaybe "/" path
clientMain (WSCatConfig {cfgHostname = hostname, cfgPort = port, cfgPath = path}) =
    WS.runClient hostname' port' path' client where
        hostname' = fromMaybe errorHelp hostname
        port' = fromMaybe errorHelp port
        path' = fromMaybe "/" path