Wrapped timeout constants in conditional checks

CS_REST_SOCKET_TIMEOUT and CS_REST_CALL_TIMEOUT constant definitions are now wrapped in conditional checks to see if the values have been defined earlier to allow larger requests to not timeout.

This was needed to allow subscriber imports to function without timing out.