Adds the ability to properly parse single label domains (e.g., localhost, foo, etc.)

Fixes #22.