Switch handlers from std::vector to std::map, add a max handler count, and return an error if too many handlers exist.
Merge pull request #2336 from thedax/sceNetStubsCrashFix

Rewrite some of the sceNetAdhocctlAddHandler/DelHandler code