feature(server): Redirect http calls to https.

fixes #799