Allow using wildcards (*,?) in proxy exceptions.

Closes #788