Attempt a better base_url auto-detection
#3253
Merge branch 'develop' of https://github.com/bcit-ci/CodeIgniter into develop