Enable timeout in Java

Java client classes have a constructor signature like:

```java
public MyClient(String host, int port, double timeout_sec) {
```

But ``timeout_sec`` is currently ignored in generated Java code.

This patch is using ``timeout_sec`` for request-timeout.