add basic auth support to `pubsubclient` and add command line options to `ps_to_http` and `ps_to_file`