Python - Java Socket Server Sample