Surveying the Requirements for Middleware Security