fixed broken reporting of remote ip for incoming connections