Using websockets to stream camera data from a RaspberryPi camera