Add socket.io Methode writeBase64