add localhost to trusted proxies