Fix proxy.c for win32
 - remove crash proxy_event_handler
 - fix is_local_file (Trim trailing slashes. Leave backslash for paths like "X:\")
 - remove magic number char path[500] -> char path[MAX_PATH]