OpalLink should now be able to be disconnected. I also added a test to see if params had already been allocated before calling new in OpalLink::connect()