fix OOIION-1296
Merge pull request #1329 from carueda/2013-09-18_OOIION-1296

fix OOIION-1296
Merge pull request #1328 from carueda/2013-09-18_OOIION-987

complete OOIION-987 : now also use remove_endpoint
https -> http
Merge pull request #1330 from lukecampbell/dm

https -> http
Merge pull request #1331 from carueda/2013-09-18_OOIION-987

revert to call sub.close() again as remove_endpoint(sub) is actually not...
do not translate "localhost" to the FQDN; instead use exactly what is given in configuration. OOIION-1287
Merge pull request #1332 from carueda/2013-09-18_OOIION-1287

do not translate "localhost" to the FQDN; instead use exactly what is given in configuration. OOIION-1287
change get_recent_events default limit to 10,000
also call self.remove_endpoint(sub) OOIION-987