fix failed http listener getting added to globals

doesn't it make more sense to just add a listener to the global list when it did not fail to start listening with it ?
Merge pull request #608 from Extrawurst/patch-1

Fix failed http listener getting added to globals.