Reformat some indented code blocks and remove whitespace.
Don't close socket on parse error.

We need this information for now and it's not always an error
Catch EOF errors, close buddy connections, and set to Offline.
Implement Status.

Advertise Status to all buddies which are not Offline.

* Fix a bug checking if a buddy is pending or offline.
Fix Buddy authentication process.
Preserve Buddy information between reconnects.