Client socket creation