Bypassing most of the functionality in this module. The otswitchboardd daemon does not use TCP/TLS for communication.
Wrote basic registration function that uses vanilla TCP sockets to perform a simple registration.