Revert "Strip protocol from the origin before doing checks, fixes #2"
Revert "Strip protocol from the origin before doing checks, fixes #2"

This reverts commit 9238118bd1f5fdf58abeb9a5adb93e2a729116e7.

KaranSofat/NelmioCorsBundle,nelmio/NelmioCorsBundle