update client for pokitdok platform v4 and add mock http testing