Minor changes to the Java API of the HTTP core model

See also previous comments here: https://github.com/2beaucoup/akka/commit/89c36b2b7894ec576fcafdcf75e1e08d5c28864b#commitcomment-8872687.