Analysis and Development of Green-Aware Security Mechanisms for Modern Internet Applications