Makes hostnames RFC compatible

Fixes test-kitchen/kitchen-digitalocean#12