Added timeout management (with -t on command line)

I think this patch fixes timeout management issue #11.
Actually, that brings up another point: the result of io.Copy is important and errors could be missed if it's ignored (as it currently is).