Port the code to the new asyncio API and add note that psycopg 2.5 is required.