implement the connection frame of the messages preferences dialog