Avoid NPE by a cookie without domain=

The root cause is still uncertain though. Closes #123
Do not use persistent connection for POST and PUT

It could cause duplicated POST or PUT by connection reset while
processing.  Do not use persistent connection for POST and PUT, and also
do not retry when it detects connection failure.

Closes #142.