fix url parsing with newer twisted framework

client._parse() has been deprecated since Twisted 13
change inheritance order

log.Loggable.__init__ was chosen instead of BasicDeviceMixin.__init__