moved base handler to prototype to support sub-classing of this module
0.2.9