Update proxy.c

implement naive back-up (longjmp)