Fixed application will crash if unknown task message is received
Added invalid torrent message