discovery: add ability to proxy discovery requests
store: remove unused code
stats: fix data race when recording send result
Merge pull request #1316 from unihorn/168

stats: fix data race when recording send result
etcdserver: fix data race in leaderStats.Followers
Merge pull request #1317 from unihorn/169

etcdserver: fix data race in leaderStats.Followers
Merge pull request #1311 from jonboulle/remove_ttl

store: remove unused code
Merge pull request #909 from jonboulle/proxy

Support corporate proxy via env var
raft: remove unused compactThreshold
Merge pull request #1314 from jonboulle/raft_tests

raft: remove unused compactThreshold
doc: add note about discovery proxy
Merge pull request #1320 from jonboulle/proxy_doc

doc: add note about discovery proxy
main: correct peer-addr reference
Merge pull request #1321 from jonboulle/peers

main: correct peer-addr reference
etcdserver: fix data race in retrieving self stats
etcdserver: fix race and improve stats interfaces
etcdserver: copy stats instead of marshaling with lock
etcdserver/stats: log any marshaling error
store: remove more unused code
store: remove unused function