Handle [preauth] messages.

Code by jonetsu@teksavvy.com.