Check if we are behind a proxy or not