Using transport only if using SSL (attempt to solve issue #37)
API supports /api/reset-hostname-resolve-cache
- hostname resolve now relies on in-memory cache almost entirely
- loads from database upon startup only
- only writes to database on confirmed resolve
- on unsuccessful resolve caches hostname as resolved for 1 minute