Parse socket input as a csv