Made socket timeouts configurable via system property.