make maxIdleConnsPerAddr configurable
fix unit-test
go fmt