pub fn parse_client_type(s: Option<&str>) -> Option<ClientType>
Parse client type from string using FromStr.