Stats for Network Traffic

https://commitfest.postgresql.org/action/patch_view?id=1266
http://archives.postgresql.org/message-id/CAHhq2wLzLxwR0RUd6+RrciR1ZX4n2O==PVi2ojw9eZcDZDXpVw@mail.gmail.com