Remover further websocket related classes. Remover unused certificate file.
Don't replace "'" with "\'". Escaping is done automatically. Clear db to clean up strings.