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/tc7.0.x/trunk@1633359 13f79535-47bb-0310-9956-ffa450edef68