Add security to Riak

Implement SSL and authentication for the HTTP endpoint so it plays nice with Riak's security.

See also basho/riak#355