added timeout option to client send
added timeout to SSL and UDP connections
.