Return NULL on sync connection errors
Merge pull request #163 from cesanta/fix_async_2

Return NULL on sync connection errors