Various API improvements
Added RPi socket monitor example