master and slave can communicate via socket now