lib-smtp: server: Fix infinite loop when client disconnects in initial state
lib-smtp: Implemented SMTP command parser.