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

Basic wasn't working for me.... comparing with Curl, I just copied over the Curl handling for inputs `$post` and the `$response` handling & code checking....