feat: use FromStr
in client_type
functions to construct ClientType
#731
+22
−13
FromStr
in client_type
functions to construct ClientType
#731