fixed fatal bug in client/upstream.py:puship, requesting with not formated json and not valid url