adds proxy support