Merge pull request #522 from deniszh/master

[rfr] From Port and To Port should accept values of 0