Simple HTTP Proxy using curl in php