multiple changes to implement junit runner also fixed several minor issues in mock http server objects