Dt/socket monitoring

Added socket monitoring support.