Added same host check
Merge remote-tracking branch 'alex88/patch-1'
Bump requirement since we use Request::getSchemeAndHttpHost from sf 2.1