add \n at the tail of JSON message that lua socket could receive
correctly