Fix r_num_irand(), add pI command, support http.port=0 as random