Add a (current unused) method to set socket timeouts

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1519114 13f79535-47bb-0310-9956-ffa450edef68
Use the new method to set socket timeouts

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1519116 13f79535-47bb-0310-9956-ffa450edef68
Add the keptAlive flag (copied from APR) so that the first requst uses a blocking read as there should be data to read immediately after the connection has been established.
Use the new method to set timeouts.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1519120 13f79535-47bb-0310-9956-ffa450edef68
Use the new method to set socket timeouts
Add support for a separate keepalive timeout

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