Add ability to pass proxy