Added handling for third party option (both library + sample client).

I needed this to test my third party option changes to miniupnpd ;-) Works for me(tm).