Buffered Ports 

Re-issue of pull request https://github.com/planthaber/rock-webapp/pull/11 against master
Really no need to convert the time to an integer ... and () is bad form in Ruby.