add rudimentary licence header,redesign to use light socket wrapper, limit ressource usage
TODO: investigate missing blocking
make more robust, testremove certificate store TODO: investigate client is there the bug?