added functionality for clearing / setting proxy