Sdk enhancements

@antonbk @shunchu beat this up. I have braced myself. ;)
Again better name would be great - `isHttps`