Updated net.Dial timeout settings to resolve I/O failiure
Added support for user defined timeout values