Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER is actually used or not.
Includes docs and new test cases: 1525, 1526 and 1527 Co-written-by: Vijay Panghal