Changed to send compressed friends list and to use a direct connection if available