First draft of substituting asyncio into Connection
Clean up errors.py.