Python Read Socket Until Eof