Ensure that that an EncodeException is thrown by  RemoteEndpoint.Basic.sendObject(Object) rather than an IOException when no suitable Encoder is configured for the given Object. 

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1633342 13f79535-47bb-0310-9956-ffa450edef68