. refactor the connection upgrade methods into one
! fix rather erratic behaviour of example when two martini versions are present through including my own fork of the render package
. refactor the handlers into a factory