make usage of context possible for fsockopen

With this PR it should be possible to use the proxy settings with the update mode "Fsockopen".

Does anyone know how to combine the procy settings with curl?