Major changes

Made it work for an unbounded number of sensors and unbounded number of
hooks
Problem to solve: each sensor lock the global stucture while doing a
write, which they shouldn’t need to because they are just reading
through the ringbuf and sending TCP packets

tcpstream.write takes a &mut self which forces me to call rwlock.write
which returns a mutable structure instead of rwlock.read which returns
an immutable structure and which allows multiple reads at the same time