new plugin check_connections.sh

Add new plugin that check the number of connections/sockets in a given state