fixes #2570 'New Window' button on HTML5 spice client page does not work
fixes #2285 - subnet validation - length of addresses, strip whitespace and fix common typos