Looks like either your socat supplies incorrect credentials or proxy
does not ask socat to actually authenticate and just denies the request.
The problem is solved. Sorry in fact it was just a problem with the
proxy configuration: the squid proxy was configured to use another
proxy server which was denying to use HTTP connect on 9418 port...
Thanks for you help.
Mathieu