fixed bug 856148 - converts statsd port to an int

I cannot reproduce this issue on dev so I'm sending this direct to stage. I will back it out or apply it to master as soon as its clear if this fixes the issue.