Remove unused imports
If no reverse DNS, use ipaddr as host and domain
Add options to specify the port and address of web server
Make drop-downs work on iPad