Fix SMP command with nick, server and secret only.

Add tests.

Fixes #54