Fixed problem with setting key for network

Up until now, keys were set and stored for each server. With large IRC
networks, however, you have multiple server you may end up on even
though you are on the same network. This patch will fix this and store
everything on a network basis.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>