Fix broken things and add a tcp interface
Fix broken things and add a tcp interface