Added new global *session-id*.
Send initial new-connection message to server, added new status getter functions.
Minor edits for testing