Fix #7: makepersistence step count
better support for http proxy