updated BasicTransport to act like Curl (processing, error reporting)
Merge pull request #5 from zeroasterisk/master

updated BasicTransport to act like Curl (processing, error reporting)