Enable sdk auth over http via headers.
Normalize response format beyween sockets and http
.
.
Merge pull request #6 from otang/b/http_auth

B/http auth