Add basic .gitignore
Fix socket_send()

If we get a partial write, don't try to resend the beginning of the message
again!
remove stray 'c' from rooms.h