C++: Factor out base pool
This separates the subscriber pool from a more general base pool and adds a few more possible intervention methods to e.g. filter who to connect to.
This might come in handy for #124
This includes some unfinished work on catching exceptions in the pool thread - need some discussion here. Storing the exception works fine, but where do we check for exceptions...?
Edited by Simon Spannagel