Security group/rules on optimized driver (flake8 compliant).

POST/PUT/GET on ports with security groups implemented.
Flake8 compliant.