more socket client stuff