Update Client.java

Propagated IoException to the client on post