Prevent checker loops

These changes help me to prevent some loops between the serveur and the proxy. Requests must pass always by localhost, the headers parameters "host" indicates the "real" host to answer.