iostream.py: Loops recv to account for SSL.