Stricter port validation
Merge pull request #122 from maksimov/develop

Stricter port validation