Added method to set nick in Adapter.
Adapter now sends error if nick is in use.