switch to jersey 1.17
use Response.Status code instead of integer