* Added "reconnect" and "onsessionchange" message types to use with embedded terminal. Usage examples were added to misc/embedded.html file. * Improved code for unix domain socket functionality.