Webserver to connect to device and issue commands