Enhanced to generate code for reading messages in a slave for Java.
Changed the roles of slave and slave hub for CALL_EXIT in Java.

Now all the slave hub does for CALL_EXIT is transfering the message to
the slave and closing the connection.

The slave has responsibility to handle CALL_EXIT. It requests
Application to remove itself.