Implement "-timeout" and "-timerheader", fix client IP IPV4/IPV6 lookup linkage