Simple socket client example.