peer: wait a little before closing idle connections

It seems that it needs some time to set connections that just used
as idle.
peerHub: add response timeout for http client
server: wait longer in afterTest

Because we sets dial timeout to be 200ms, afterTest should wait
> 200ms.