added new @RequestLine and @Headers annotations to make JAX-RS optional