fix for Bad Request from command line client 'synapse add'
fix for Bad Request from command line client 'synapse add'

kkdang/synapsePythonClient,larssono/synapsePythonClient,zimingd/synapsePythonClient,thomasyu888/synapsePythonClient