More buddy list handling. Also fixed HTTP client.