code: private ModelNode parseAddress(final String profileName, final String inputAddress) {
          final ModelNode result = new ModelNode();
          if (profileName != null) {
              result.add(ServerOperations.PROFILE, profileName);
          }
          String[] parts = inputAddress.split(",");
          for (String part : parts) {
              String[] address = part.split("=");
              if (address.length != 2) {
                  throw new RuntimeException(part + " is not a valid address segment");
              }
              result.add(address[0], address[1]);
          }
          return result;
      }
docs: Parses the comma delimited address into model nodes.
  
  @param profileName  the profile name for the domain or {@code null} if not a domain
  @param inputAddress the address.
  
  @return a collection of the address nodes.