fix default user ip, check http proxy headers