Destructor for BesterConnection
Type of the status report. Either 0 (for success) or 1 (for failure).
Returns an array of the username and password.
Send a status report for the message with id id of type StatusType.
Shutdown the BesterConnection by stopping the read-write loop and closing the socket.