CCClientSocket amd CCServerSocket added, minor fixes