fixed and implemented https://github.com/tomp2p/TomP2P/issues/37