I don't really see what the benefit is here for the developer? With HTTP CloudFlare can do caching etc to take load off the origin, but the origin server has to deal with each websocket (right?)
Cloudflare can't protect you from DOS attacks if the attacker knows the IP address of your origin.