Use the Symfony HttpFoundation session storage if it is available

We want to use this class in a Laravel project. Laravel clears out the $_SESSION variable, so I added a nes SessionStorage class to work with the Symfony HttpFoundation Session class if it is available.