Made setopt() wrapper around mg_set_option()