Added support for specifying the proxy type in the connection parameters