fix empty twitter responses

This commit should fix Twitter's 400 Bad Request responses:
Accept-JSON-header will only be sent if needed