add socket delegate methods
change log messages