Fixed recursive locking on broker fail+buf retry (issue #27)
Changed stats counters to atomics
Added socket.send.buffer.bytes and socket.receive.buffer.bytes configuration properties