refs #15. Add a socket server in erlide plugin,  which is used for template debug.