Added a proxy check