Modified NodeProfileObjectDelegate to be able to return the number of class including node profile object.
Updated sample files and unit tests related TCP connection.