Enable two way socket communication