Add a connected flag to the client
Code style
Accept null char in search methods
Wait for serial to be ready when available