[STORM-486] avoid adding multiple jetty handlers

Big thanks to @knusbaum for tracking this down and providing the initial code.

This works by coping a private helper function from ring, so that we do not double-set handlers.