Got it working finally! Got a proper response from the server. Problem was that I was signing the wrong element with the signature :P