Properly erasing state of previous requests...
whitespace fix
destroy request list on shutdown
free trequest contents when freeing node with trequest
close socket on shutdown
whitespace fixes
free Login object
free sessions hash
clean up curl on shutdown