Missing betaseries import.
Missing urllib import.
Various missing selfies.
Fixed headers as dict and not list.
Improved loggging.