fix stack trace spew caused by some routers' UPnP implementations
Merge https://github.com/forrestv/p2pool into forrestv