Removed to_s on ports

The `to_s` was causing this exception on jruby 1.5.6:

https://gist.github.com/andrewkatz/6075245

Changing these from being strings seems to fix the issue.