Generate signature based on non-encoded parameters.
Add error handling if can't connect to server.