Buffered Ports 

Re-issue of pull request https://github.com/planthaber/rock-webapp/pull/11 against master
That code is in an other commit in the devel branch, sadly together with JS API changes that will break functionality in this branch