Buffered Ports 

Re-issue of pull request https://github.com/planthaber/rock-webapp/pull/11 against master
make the key creation a method and use it exclusively. It is obviously super-important that all keys are generated the same, so copy/pasting it is trouble in waiting.