SimpleNetworkWrapper message registration fix

changed to pass message class to channel handler, fixes crash when registering message

Fixes issue #397
See http://www.minecraftforge.net/forum/index.php/topic,17624.0.html for details.