[Patch] use http_port and xmlrpc_port from settings file