Added nick parameter to attach.

The `connect` method allows for a nick to be passed already, this just allows the `attach` method to have that same functionality.