Accept v4/v6 mixed values in "allow" configuration.

Also fix tests on dualstack environment (which binds ::1 rather than
127.0.0.1).
Merge pull request #8 from kuriyama/master

Accept v4/v6 mixed values in "allow" configuration.