use thread locals in KryoService
Merge pull request #135 from nathanmarz/feature/thread-local-kryo

use thread locals in KryoService