mg_set_option() sets NULL if value is empty