Added Ratchet class

From http://socketo.me