http: change auth classes
update TLS implementation