code: def create(cls, name, address, proxy_port=8080, username=None,
                 password=None, secondary=None, comment=None):
          
          json = {
              'name': name,
              'address': address,
              'comment': comment,
              'http_proxy_port': proxy_port,
              'http_proxy_username': username if username else '',
              'http_proxy_password': password if password else '',
              'secondary': secondary if secondary else []}
          
          return ElementCreator(cls, json)
docs: Create a new HTTP Proxy service. Proxy must define at least
          one primary address but can optionally also define a list
          of secondary addresses.
          
          :param str name: Name of the proxy element
          :param str address: Primary address for proxy
          :param int proxy_port: proxy port (default: 8080)
          :param str username: optional username for authentication (default: None)
          :param str password: password for username if defined (default: None)
          :param str comment: optional comment
          :param list secondary: secondary list of proxy server addresses
          :raises CreateElementFailed: Failed to create the proxy element
          :rtype: HttpProxy