Changed Client.post to propagate IOException instead of swallowing it.