Fixing some bug with the request secure flag