LeapHttpClient verifies hostname.

This fixes #3287