Add typing to _ConnectionParameters and related functions
#1199
+60
−37
_ConnectionParameters and related functions
#1199