Securing HTML5 Connectivity