On startup, TransportUtils try to receive private data. If trafic is to high and the response from server takes more time as the default timeout for a packet is, the gateway preferences won't be loaded at all.
Thats an additional problem, as the gateway preferences where accessed in a static way and won't be checked if null or not.
With this patch, spark try to receive the transportutils until a response from server was received.
Additionally, if gateway preferencs where accessed, spark checks if the preferences are null or not.