func (c *Client) Close() error {
	if c.conn != (*tls.Conn)(nil) {
		return c.conn.Close()
	}
	return nil
}
func (c *Client) Close() error {
	if c.conn != (*tls.Conn)(nil) {
		return c.conn.Close()
	}
	return nil
}
func ( c * Client ) Close ( ) error { if c . conn != ( * tls . Conn ) ( nil ) { return c . conn . Close ( ) } return nil }
// Close closes the XMPP connection
Close closes the XMPP connection