fix osgi header; make apollo packages optional
fix failing ActiveMQ test; checkClosed() only when you're creating a new chanell