call the function run with 5 arguments: self.addr, self.port converted to an integer, handler, ipv6 set to self.use_ipv6, and threading set to threading.
run ( self . addr , int ( self . port ) , handler , ipv6 = self . use_ipv6 , threading = threading )