better rpc connection handling
Merge branch 'master' of https://github.com/biokoda/bkdcore