If you're polling a smartplug and it's not connected to your WiFi you're waiting for a timeout which is not set by default ( https://docs.python.org/3/library/socket.html#socket.getdefaulttimeout ). This change adds an argument `--timeout` so you can provide you own timeout or use the default timeout of 10 seconds.
Add management for a new parameter : "port".
Allows to modify the defalt port, and not use the default one : 9999
This is useful to send a command to a plug that is not on the local network