Add getopt/1: retrieve per process port options