Minor changes to the Java API of the HTTP core model

I guess this works, I don't know if we like to keep the Parameter interface for clarity or not.