optimize doc
fix problems advised by zhengmh
optimize log
increase timeout for long lived connections
increase timeout for long lived connections