How to deal with MJPEG streams with Web Sockets