Support sending basic auth key via headers instead of query.
Merge pull request #224 from theGrue/basickeyheader

Support sending basic auth key via headers instead of query.