Small code modifications to be able to run peercoinj in Google App
Engine single thread mode.