WIP: supply custom user agent for Java bindings.