more compatibility - changed time getting function. Additionally changed how connecting works so it's more compliant with the IRC protocol.