Strip tags on socket server and change db