remove non-existent cruft
default to connecting to the API over SSL (probably still needs work to ensure peer verification)