Adding createClientSocket method