Implemented the EC2 handler for listSubnets.