/tmp> gcc -I /home/nach/build/src/curl-7.30.0-patch/include -Wall -o test test.c -lbsd /home/nach/build/src/curl-7.30.0-patch/lib/.libs/libcurl.a -lssl
/tmp> ./test
* About to connect() to localhost port 80 (#0)
*   Trying 127.0.0.1...
* Adding handle: conn: 0x6b40f0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x6b40f0) send_pipe: 1, recv_pipe: 0
* Connected to localhost (127.0.0.1) port 80 (#0)
> POST /debug.php HTTP/1.1
Host: localhost
Accept: */*
Content-MD5: lS0sVtBIWVgzZ0e83ZhZDQ==
Content-Length: 6
Content-Type: application/x-www-form-urlencoded

* upload completely sent off: 6 out of 6 bytes
< HTTP/1.1 200 OK
< Date: Mon, 27 May 2013 22:33:51 GMT
* Server Apache/2.2.22 (Debian) is not blacklisted
< Server: Apache/2.2.22 (Debian)
< Vary: Accept-Encoding
< Content-Length: 1114
< Content-Type: text/html
<
Array
(
    [SCRIPT_URL] => /debug.php
    [SCRIPT_URI] => http://localhost/debug.php
    [HTTP_HOST] => localhost
    [HTTP_ACCEPT] => */*
    [HTTP_CONTENT_MD5] => lS0sVtBIWVgzZ0e83ZhZDQ==
    [CONTENT_LENGTH] => 6
    [CONTENT_TYPE] => application/x-www-form-urlencoded
    [PATH] => /usr/local/bin:/usr/bin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.2.22 (Debian) Server at localhost Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.2.22 (Debian)
    [SERVER_NAME] => localhost
    [SERVER_ADDR] => 127.0.0.1
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 127.0.0.1
    [DOCUMENT_ROOT] => /var/www/
    [SERVER_ADMIN] => webmaster@localhost
    [SCRIPT_FILENAME] => /var/www/debug.php
    [REMOTE_PORT] => 37783
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] =>
    [REQUEST_URI] => /debug.php
    [SCRIPT_NAME] => /debug.php
    [PHP_SELF] => /debug.php
    [REQUEST_TIME_FLOAT] => 1369694031.256
    [REQUEST_TIME] => 1369694031
)
Calculated MD5: 952d2c56d0485958336747bcdd98590d
  Recieved MD5: 952d2c56d0485958336747bcdd98590d
* Connection #0 to host localhost left intact
