Django 1.6 compatibility

Request.scheme was added in 1.7