Support unlimited socket receive size for api