src/session-func.c (set_option): Implement missed options.

* src/session-func.c (set_option): Implement missed options.
  (set_port_opt): New static function.