Set http headers on the response in a java plugin