Proxy.pac management update

- add delpac command to remote domain from proxy.pac
- pac command: skip domain if already exists
- write common helper functions