Working on establishing TCP connection