Bug 797561 - Expose a server tcp socket API to web applications r=honza