Make port-only server specs try localhost if given hostname fails lookup