updated to work with vert.x 2.0.0