adding socks proxy declaration if appropriate properties are defined