Add basic socket communication