fix getUsername
update API
disable name indication to work around certificate bug