Fix UnitTest ApiServlet
Validate IPv4 address using Apache Commons Validator