changed socket server handler to StreamRequestHandler
now we can use rfile.readline()