initial commit of wget.go
fixed error reporting