setEndpoint() is now declared static function

The function is declared static in order to prevent Strict message from Controller/Component/CakeS3Component.php:71