make Jar thread-safe
Revert "reimplement persistent cookiejar"

This reverts commit 6b3e4c7c5a0b2acb7938441c08fbd277ccc62c17.

Conflicts:
	jar.go
	main.go
minor fixes