Implemented OSGi support for leshan server