Refactor ssl check to mimic Rack::Request#ssl? behavior as stated in #663. I've removed the query assigment since it looked redundant just after the gsub and added a few test for a custom full_host that were not provided before.
Merge pull request #664 from aitor/improved_ssl_check

Refactor ssl check