support IPv6 binding
change the interface of request_handler()