update HTTPS test for tags, per php documentation "Set to a non-empty value if the script was queried through the HTTPS protocol."
add unit tests and travis runner