Make the module talk to actual servers

So far it has only been tested with Koha's SIP2 server, but it seems to
work. Probably needs some more adjustments though.