getting chat working
connect locally for socket connection