send thread basics

- send_message_to_server function