refactor to remove Grant's HTTP library, set compression enable in WS conf