Buffered Ports 

Re-issue of pull request https://github.com/planthaber/rock-webapp/pull/11 against master
.to_i allows to call it with a Time class or an Integer, it doesn't matter for the function to world.

The integer is directly used from the Grape API poaramater, so there is no need to convert int into a "Time"