Fix default Accept header value handling
Fix javadoc issues (errors when building javadoc with java 8)