Store sessions in the database if websockets are enabled, since Ratchet does not support native PHP sessions