mg_set_option(): always set correct actual listening port