Renamed rpc log types to 'rpc_events' and 'rpc_dump'.
Main thread releases global lock during hostname lookup.