Added manifest
Added policy file for running with a Security Manager
Fixed broken URL
Added additional permissions required by the Security Manager
Modified WebSocketUrlTag to use isSecure and getServerPort to determine if it's ws or wss. Note a hack is added in here to detect port 4443 (used by CloudFoundry for WebSockets) as wss.