Don't show diagnostic messages when request is simply local
Don't show diagnostic messages when request is simply local

This fixes the scenario when Alaveteli is behind a proxy in production

Resolves #1039

petterreinholdtsen/alaveteli,4bic/alaveteli,petterreinholdtsen/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,petterreinholdtsen/alaveteli,10layer/alaveteli,10layer/alaveteli,TEDICpy/QueremoSaber,obshtestvo/alaveteli-bulgaria,andreicristianpetcu/alaveteli,obshtestvo/alaveteli-bulgaria,TEDICpy/QueremoSaber,andreicristianpetcu/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli_old,Br3nda/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,TEDICpy/QueremoSaber,codeforcroatia/alaveteli,petterreinholdtsen/alaveteli,nzherald/alaveteli,4bic/alaveteli,obshtestvo/alaveteli-bulgaria,obshtestvo/alaveteli-bulgaria,codeforcroatia/alaveteli,codeforcroatia/alaveteli,TEDICpy/QueremoSaber,datauy/alaveteli,Br3nda/alaveteli,petterreinholdtsen/alaveteli,datauy/alaveteli,andreicristianpetcu/alaveteli_old,Br3nda/alaveteli,10layer/alaveteli,Br3nda/alaveteli,4bic/alaveteli,codeforcroatia/alaveteli,nzherald/alaveteli,4bic/alaveteli,andreicristianpetcu/alaveteli,TEDICpy/QueremoSaber,obshtestvo/alaveteli-bulgaria,4bic/alaveteli,datauy/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli