Handlers and Middleware in the AWS SDK for PHP Version 3