Support for changing nickname

This finally fixes issue #2 and is a result of
the combined effort of many contributors. Thanks!