Fix "filesize" notification in cURL adapter.
Make all adapters send a disconnect notification
All adapters now send a disconnect notification when they're done communicating with the HTTP server. This notification won't be sent in case an exception is thrown first, but will still be sent when an HTTP error was received from the remote server. Also fixes a trailing line feed in the Listener and a typo in one of the tests.
…Not throwing an exception would lead to a bogus PEAR2\HTTP\Request\Response::__toString() (trying to return boolean false, when __toString() should return only string), and no way to realize if the request was executed or not.
… setting CURLOPT_HTTPHEADER.
…ies to the adapter using PEAR2_HTTP_Request_Adapter_Filesystem::addDirectory()
…s for almost 2 years, do I have to do it all myself?)