Revert "fix emit() behavior to return false if an error occurred; fix testReconnectAfterBufferFull() to flush at the end, rather then emit a new event and then flush"

This reverts commit d7ab7b883f36daf1a62891c1bc3a530400bf64d8.
add isConnected() methods to logger and sender; enhance tests with this functionality