safe wrappers for addstr and addch
allow exiting of dialogs also with ESC or with "q"
use the new HTTP(S) server hostname