Redirect serial port to tcp instead of stdio
Add base64 decoder