make x-forwarded work for socket logging