Added base64 decorator for tcpserver and tcpclient