socket:read returns shortest pattern. #474