Big refactor to accommodate vert.x 2.0 API changes.