Added back proxy check