Allow for uppercase and lowercase versions of the option arguments
Fix definition of SA_SIZE()
Fix sel_next_hop() according to Hiroki's code