Add HTTP Basic Authentication
Add SSL support
Add https redirection on http requests when ssl enabled
Add missing license headers
Merge of authentication branch