Fix warnings and add missing setter

Firstly, sorry for the scattered commit!

This commit fixes any left over compiler warnings ( https://github.com/fkuehne/upnpx/issues/4 ), in addition to adding a setter that I missed from ac0406b. 

If you want to manually merge / squash this then that's fine. I'll tackle #30 tomorrow.