[HttpFoundation] fixed the creation of sub-requests under some circumstancies (closes #6923, closes #6936)
[HttpFoundation] fixed the creation of sub-requests under some circumstancies (closes #6923, closes #6936)

This fixes the creation of a sub-request when the master request Request URI
is determined with specific server information.

ygerasimov/HttpFoundation,oswaldderiemaecker/HttpFoundation,nichdu/HttpFoundation,symfony/HttpFoundation,mneuhaus/HttpFoundation,symfony/http-foundation