There has been a known issue with 1.3.1 and 1.3.2 when connecting to MP servers. That also includes getting the pings for servers, which could take minutes just for them all to get connection.
When a server was trying to be logged into, the user may have to wait up to 15-30 seconds while the game client was frozen for them to be let in.
The explanation for this was because of minecraft trying to use java files that may not be in every "active" version of java. Without checking if the class existed in their version of java, minecraft attempted to get attributes of the class. Java's reaction was to wait for it's time out of around 15-30 seconds until throwing an error, which minecraft recognized and dealt with properly.
The solution was pretty simple, knowing the problem. Check if the class files exist before attempting anything else. I guess you could consider it a "null check" (the concept, not the actuality). With this change, I use the Class#forName to check if it exists, in which it will throw an error if it doesn't. If caught, the error will let the method know that the class doesn't exist and not to try anything else.
Below is a file to replace in minecraft.jar. This will require the deletion of the META-INF from the jar. If you need further instructions on how to place the file in, look up a tutorial on how to install mods.
1. Download the class file for the corresponding version of minecraft.
2. Open the Minecraft.jar in an archiving program (WinRAR, WinZip, 7Zip, etc.)
3. Delete the META-INF folder (this is crucial, if this isn't done Minecraft will crash on start-up)
4. Drag the class file into the archive, if prompted for permission to override, click yes.
5. Start up Minecraft.
1.4.4 / 1.4.5: http://www.mediafire...naqw90ae6xg4bay
1.4.6 / 1.4.7: http://www.mediafire...cvhhu2394uuhn86
I hope this helps.