Improved detail of detailed error message, always log request/response when debug is enabled.
Make securesubmit url use https when appropriate. noref
Merge pull request #23 from colinmollenhour/https-fix

Same-Origin Policy error when loading token data