added code for tcp/ip communication with nrepl