Fix proxy support in check