- support for tcp:// conversion to http://
- swapped to use curl to address ssl certificate issues with php 5.6
- added x-use-https header check
- added max number of location redirects
- added custom settable message if x-use-https is found, so users can be told where to set their scripts
- if a redirect host is https, add ssl:// to remote_host
- added isset to headers['location'], line 306