Bug 817762: Set SO_KEEPALIVE with PyMySQL; r=catlee