Support for JDK8's Optional in request headers and parameters