Return more error infos from Cube server
Encode all URI
Encode URI to cube
Fix URI encoding