Parse socket lines