[IMPROVEMENT] Adding line buffer on socket