socket server and client connecting successfully