maybe prepend a set_  and make them better readable, like set_proxy_host, set_proxy_port, set_proxy_userpassword.

You also dont need to set a parameter null since its null anyways and the user will call it with something different if he calls it at all